drivers/video: drop framebuffer size constraints
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Thu, 6 Jun 2019 12:08:29 +0000 (14:08 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 6 Jun 2019 12:08:29 +0000 (14:08 +0200)
commitf06cc4f1828f725a980871c9c41eda875c946186
tree6051b03c6fef795914b17f7a6937e36a1f9d38e6
parentba75e0d44b58c53696c09eaea7fc53c923c3ccc5
drivers/video: drop framebuffer size constraints

The limit 1900x1200 do not match real world devices (1900 looks like a
typo, should be 1920). But in practice the limits are arbitrary and do
not serve any real purpose. As discussed in "Increase framebuffer size
to todays standards" thread, drop them completely.

This fixes graphic console on device with 3840x2160 native resolution.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
drivers/video: drop unused limits

MAX_BPP, MAX_FONT_W, MAX_FONT_H are not used in the code at all.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 19600eb75aa9b1df3e4b0a4e55a5d08b957e1fd9
master date: 2019-05-13 10:13:24 +0200
master commit: 343459e34a6d32ba44a21f8b8fe4c1f69b1714c2
master date: 2019-05-13 10:12:56 +0200
xen/drivers/video/lfb.c